package dlg.code.factory.simpleFactory;

import dlg.code.factory.IProduct;
import dlg.code.factory.ProductB;

public class Main {
    public static void main(String[] args) {
        IProduct iProduct = ProductFactory.get(ProductB.class);
        iProduct.fun();
    }
}
